#include <stdio.h>
#define SIZE 100

int minimum(int *arr,int n)
{
	int min = arr[0];
	for(int i = 1;i < n;i++)
	{
		if(min > arr[i])
		{
			min = arr[i];
		}
	}
	return min;
}

int main()
{
	int arr[SIZE];
	for(int i = 0;i < SIZE;i++)
	{
		scanf("%d",&arr[i]);
	}
	printf("%d\n",minimum(arr,SIZE));
	return 0;
}

